package xyz.chenyongpeng.ticketproviderdubbo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import xyz.chenyongpeng.entity.ZsGTickets;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import xyz.chenyongpeng.service.IZsGTicketsService;
import xyz.chenyongpeng.ticketproviderdubbo.mapper.ZsGTicketsMapper;
import xyz.chenyongpeng.to.GoodsTicketTo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品-门票属性表 服务实现类
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
public class ZsGTicketsService extends ServiceImpl<ZsGTicketsMapper, ZsGTickets> implements IZsGTicketsService {

    @Autowired
    private  ZsGTicketsMapper zsGTicketsMapper;

    @Override
    public List<GoodsTicketTo> getAllTickets(Map<String, Object> parms) {
        return zsGTicketsMapper.getAllTickets(parms);
    }
}
